<!--{template common/header}-->
<!--{template focus/header}-->
  <script type="text/javascript" src="{STATICURL}/js/modal/modal.js"></script>
  <link rel="stylesheet" href="{STATICURL}/js/modal/modal.css" type="text/css" />
  <script type="text/javascript">
		window.addEvent('domready', function() {
			SqueezeBox.initialize({});
			$$('a.modal').each(function(el) {
				el.addEvent('click', function(e) {
					new Event(e).stop();
					SqueezeBox.fromElement(el);
				});
			});
		});
  </script>

<form action="admin.php" method="get" name="search">
<input type="hidden" name="formhash" value="{FORMHASH}" />
	<input name="m" type="hidden" value="focus">
	<input name="a" type="hidden" value="log">
	<table class="datalist">
		<tr>
			<td width="30%">{lang Keyword}:</td>
			<td><input type="text" name="keyword" value="$keyword" size="40"></td>
			<td rowspan="3" width="200"><button name="do" value='' type="submit" class="btn">{lang Search}</button></td>
		</tr>
		<tr>
			<td width="30%">{lang Focus Type}:</td>
			<td>
			<select name="cattype">
				<option value="" <!--{if $cattype==''}--> selected=true <!--{/if}--> >{lang All}</option>
				<!--{loop $types $k $v}-->
				<option value='$k' <!--{if $cattype==$k}--> selected=true <!--{/if}--> >$v</option>
				<!--{/loop}-->
				</select>
			</td>
		</tr>
	</table>
</form>
<br>

<form method="post"  action="admin.php?m=focus" name="adminform">
<input type="hidden" name="formhash" value="{FORMHASH}" />
	<input type="hidden" name="a" value="log">
	<table class="datalist">
		<tr>
			<td align=center>{$orderid}</td>
			<td align=center>{$ordertype}</td>
			<td align=center>{lang Keyword}</td>
			<td align=center>{$orderurl}</td>
			<td align=center>{$ordertime}</td>
			<td align=center>{lang Log}</td>
			<td align=center>{lang Action}</td>
		</tr>
<!--{loop $listarr $v}-->
		<tr align="center">
			<td><input class="checkbox" type="checkbox" name="ids[]" value="$v[id]">$v[id]</td>
			<td nowrap>$v[type]</td>
			<td align='left'>$v[keyword]</td>
			<td nowrap>$v[nums]</td>
			<td nowrap>$v[dateline]</td>
			<td nowrap>$v['note']</td>
			<td>
				<A onclick="return confirm('{lang Are you sure you are want to delete these?}');" href="index.php?option=focus&task=dellog&id=$v[id]">{lang Del}</A>
			</td>
		</tr>
<!--{/loop}-->
		<tr>
			<td colspan='2'>
				<input class="checkbox" type="checkbox" name="chkall" onclick="checkall(this.form,'ids')" title="{lang Select All}">{lang Select All}&nbsp;
		<input type="submit" name="savesubmit" value="{lang Del}" class="btn" onclick="return confirm('{lang Are you sure you are want to delete these?}')">

				</td>
			<td colspan="4">
{$multipage}
			</td>
		</tr>
	</table>
</form>

<!--{template focus/footer}-->
<!--{template common/footer}-->
